pluginNN 3   IE n/a   DOM n/a

A plugin object represents a single plugin that is registered with Navigator at launch time. Access to a single plugin is normally via the navigator.plugins array. It is also common to use the navigator.mimeTypes array and associated properties to uncover whether the browser has the desired plugin installed before loading external content. Most of the properties provide scripted access to information normally found in the About Plug-ins window available from Navigator's Help menu.

 
 
Object Model Reference
NN navigator.plugins[i]
descriptionNN 3   IE n/a   DOM n/a
 Read-only
 

A brief plain-language description of the plugin supplied by the plugin manufacturer.

 
Example
var descr = navigator.plugins[2].description
 
Value
String.
 
Default None.
filenameNN 3   IE n/a   DOM n/a
 Read-only
 

Returns the filename of the plugin binary. In Win32 versions of Navigator, the full pathname is returned; for the Mac, only the filename is returned.

 
Example
var file = navigator.plugins[2].filename
 
Value
String.
 
Default None.
lengthNN 3   IE n/a   DOM n/a
 Read-only
 

Returns the number of MIME types supported by the plugin. Don't confuse this property with the length property of the entire navigator.plugins array, which measures how many plugin objects are known to the browser.

 
Example
var howManyMIMEs = navigator.plugins[2].length
 
Value
Integer.
 
Default None.
nameNN 3   IE n/a   DOM n/a
 Read-only
 

Returns the name of the plugin assigned to it by its manufacturer. You cannot, however, be guaranteed that a plugin designed for multiple operating systems has the same name across all versions.

 
Example
var pName = navigator.plugins[2].name
 
Value
Integer.
 
Default None.
refresh( )NN 3   IE n/a   DOM n/a

Instructs the browser to reregister plugins installed in the plugins directory. This allows a browser to summon a newly installed plugin without forcing the user to quit and relaunch the browser.

 
Returned Value
None.
 
Parameters
None.